﻿using System;
using System.Collections.Generic;

using System.Windows;
using System.Windows.Controls;

using System.Windows.Input;

namespace EagleJournal.Controls
{
    public class ListPOInfo : ListBoxItem
    {
        public static readonly DependencyProperty
            POIDProperty = DependencyProperty.Register("POID", typeof(int), typeof(ListPOInfo));
        public int
            POID
        {
            get { return (int)this.GetValue(POIDProperty); }
            set { this.SetValue(POIDProperty, value); }
        }

        public static readonly  DependencyProperty
            POSerialIDProperty  = DependencyProperty.Register("POSerialID", typeof(string), typeof(ListPOInfo));
        public                  string 
            POSerialID
        {
            get { return (string)this.GetValue(POSerialIDProperty); }
            set { this.SetValue(POSerialIDProperty, value); }
        }

        public static readonly  DependencyProperty
            POCompanyProperty   = DependencyProperty.Register("POCompany", typeof(string), typeof(ListPOInfo));
        public                  string
            POCompany
        {
            get { return (string)this.GetValue(POCompanyProperty); }
            set { this.SetValue(POCompanyProperty, value); }
        }

        public static readonly DependencyProperty
            PODeadlineProperty = DependencyProperty.Register("PODeadline", typeof(string), typeof(ListPOInfo));
        public string
            PODeadline
        {
            get { return (string)this.GetValue(PODeadlineProperty); }
            set { this.SetValue(PODeadlineProperty, value); }
        }
    }
}
